package com.luckcoder.relax.games.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.tenant.core.TenantEntity;

import java.io.Serial;
import java.util.Date;

/**
 * 游戏记录详情对象 relax_game_record_detail
 *
 * @author zhanghao
 * @date 2025-09-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("relax_game_record_detail")
public class RelaxGameRecordDetail extends TenantEntity {
    
    @Serial
    private static final long serialVersionUID = 1L;
    
    /**
     * 详情ID
     */
    @TableId(value = "detail_id")
    private Long detailId;
    
    /**
     * 游戏记录ID
     */
    private Long recordId;
    
    /**
     * 用户ID
     */
    private Long userId;
    
    /**
     * 游戏编码
     */
    private String gameCode;
    
    /**
     * Emoji的Unicode编码
     */
    private String emojiUnicode;
    
    /**
     * Emoji字符
     */
    private String emojiChar;
    
    /**
     * 本局消灭数量
     */
    private Long eliminatedCount;
    
    /**
     * 消灭时间
     */
    private Date eliminatedTime;
    
    /**
     * 删除标志（0代表存在 1代表删除）
     */
    @TableLogic
    private String delFlag;
    
    
}
